﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.ReflectionProbeRefreshMode
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>An enum describing the way a real-time reflection probe refreshes in the Player.</para>
  /// </summary>
  public enum ReflectionProbeRefreshMode
  {
    /// <summary>
    ///         <para>Causes the probe to update only on the first frame it becomes visible. The probe will no longer update automatically, however you may subsequently use RenderProbe to refresh the probe
    /// 
    /// Additional resources: ReflectionProbe.RenderProbe.</para>
    ///       </summary>
    OnAwake,
    /// <summary>
    ///         <para>Causes Unity to update the probe's cubemap every frame.
    /// Note that updating a probe is very costly. Setting this option on too many probes could have a significant negative effect on frame rate. Use time-slicing to help improve performance.
    /// 
    /// Additional resources: ReflectionProbeTimeSlicingMode.</para>
    ///       </summary>
    EveryFrame,
    /// <summary>
    ///         <para>Sets the probe to never be automatically updated by Unity while your game is running. Use this to completely control the probe refresh behavior by script.
    /// 
    /// Additional resources: ReflectionProbe.RenderProbe.</para>
    ///       </summary>
    ViaScripting,
  }
}
